home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
6
/
c_wndw.zip
/
DISP_XXX.C
< prev
next >
Wrap
Text File
|
1989-05-25
|
710b
|
26 lines
/* (c) Marietta Systems, Inc. 1987
* All rights reserved
*
* demonstration program for functions disp_msg, disp_err, disp_qry
*/
#include "mtest.h"
void main(){
int m = 1;
KEYMATCH[4] = 0XFC00; KEYMATCH[5] = 0X1; /* show F3 - F9 */
clr_scrn("Disp_xxx test");
while (m) {
disp_err(" Example of error message",1500);
disp_msg(" Press any key to continue",1);
read_kb();
disp_msg(" Example of message",36);
disp_err(" Press any key to continue",1036);
read_kb();
disp_msg(NULL, 0);
disp_err(" Note message blanked, press key",1);
read_kb();
disp_err(NULL, 0);
m = disp_qry(" Do you want to do it again");
}
goodbye(0);
}